Skip to content

Add initial support for Goat A1600 RTK (#852)#949

Merged
edenhaus merged 3 commits into
DeebotUniverse:devfrom
comtel2000:init-xmp9ds
May 12, 2025
Merged

Add initial support for Goat A1600 RTK (#852)#949
edenhaus merged 3 commits into
DeebotUniverse:devfrom
comtel2000:init-xmp9ds

Conversation

@comtel2000

@comtel2000 comtel2000 commented May 6, 2025

Copy link
Copy Markdown
Contributor

I still got issues with pytest, is there hardware required to run it?

ERROR tests/test_device.py - NameError: name 'x5d34r' is not defined

For now, it's just a copy of the GOAT G1 without AdvancedMode and a new CustomCutMode..

Comment thread pyproject.toml
from .common import GetEnableCommand, SetEnableCommand


class GetCustomCutMode(GetEnableCommand):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this option do?
Can you post a screenshot from this setting in the app

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please answer this comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what I tried to find out in my test-setup. I've tried almost everything and it's not changeable via app setting, but it probably determines which options are available in the app. It is activated for the A1600 RTK in any case.

It may enable the "Enhanced" mode..

image

@edenhaus edenhaus added the pr: new-feature PR, which adds a new feature label May 7, 2025
@comtel2000

Copy link
Copy Markdown
Contributor Author

I'm just trying to get to grips with the deebot and python. The MR is only intended as a very simple basic support for the A1600.
With my very limited python skills I also like to help out with captured mitmproxy data 😄

@edenhaus edenhaus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For new commands tests are required. The best would be to split adding support for the goat into a new PR, so I can merge it without waiting that all new commands are implemented. Also adding new commands need some other changes and so a split is the best imo

Comment thread deebot_client/events/__init__.py Outdated
class RainDelayEvent(Event):
"""Rain delay event representation."""

enable: bool

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
enable: bool
enabled: bool

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, so I'll remove the new commands here and this MR is just a copy of the Goat G1 for the Goat R1600.

@edenhaus edenhaus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @comtel2000 👍

@edenhaus edenhaus enabled auto-merge (squash) May 12, 2025 07:00
@codecov

codecov Bot commented May 12, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.63%. Comparing base (5830188) to head (b84016f).
Report is 10 commits behind head on dev.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #949      +/-   ##
==========================================
+ Coverage   93.07%   93.63%   +0.55%     
==========================================
  Files         127      129       +2     
  Lines        4927     4997      +70     
  Branches      320      324       +4     
==========================================
+ Hits         4586     4679      +93     
+ Misses        282      258      -24     
- Partials       59       60       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codspeed-hq

codspeed-hq Bot commented May 12, 2025

Copy link
Copy Markdown

CodSpeed Performance Report

Merging #949 will not alter performance

Comparing comtel2000:init-xmp9ds (b84016f) with dev (a2d906c)

Summary

✅ 6 untouched benchmarks

@edenhaus edenhaus merged commit 52439a8 into DeebotUniverse:dev May 12, 2025
27 checks passed
@MilanDasek

Copy link
Copy Markdown

This is great.

One problem: Setting a moving direction is not working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: new-feature PR, which adds a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants